TARGET = gisgraph
TEMPLATE = lib
DEFINES += GISGRAPH_LIBRARY
SOURCES += graph.cpp \
    vertex.cpp \
    edge.cpp
HEADERS += graph.h \
    gisgraph_global.h \
    vertex.h \
    edge.h
CONFIG(debug, debug|release):TARGET = $$join(TARGET,,,d)
win32 {
	CONFIG(debug, debug|release):INSTALLLIB.commands = $(INSTALL_FILE) \
		debug\\$${TARGET}.lib \
		..\\lib
	CONFIG(release, debug|release):INSTALLLIB.commands = $(INSTALL_FILE) \
		release\\$${TARGET}.lib \
		..\\lib
	INSTALLLIB.path = ..\\lib
	CONFIG(debug, debug|release):INSTALLBIN.commands = $(INSTALL_FILE) \
		debug\\$${TARGET}.dll \
		..\\bin
	CONFIG(release, debug|release):INSTALLBIN.commands = $(INSTALL_FILE) \
		release\\$${TARGET}.dll \
		..\\bin
	INSTALLBIN.path = ..\\bin
	INSTALLS = INSTALLLIB \
		INSTALLBIN
}
unix {
	target.path = ../lib
	INSTALLS = target
}
